package com.x.uikit;

import android.content.Context;

public class UIKit {
    private static class Holder {
        final static UIKit INSTANCE = new UIKit();
    }

    public static UIKit get() {
        return Holder.INSTANCE;
    }

    private UIKitImpl mImpl = new UIKitImpl();

    private UIKit() {
    }

    public void init(Context context) {
        if (context != null) {
            mImpl.setContext(context.getApplicationContext());
        }
    }

    public UIKitImpl getImpl() {
        return mImpl;
    }
}
